package cn.xorange.commons.utils.configuration;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author : yangjian
 * @date : 2023/11/24
 * @description :
 */
@Component
@Getter
public class UtilsProperties {

    @Value("${mickey.captchaExpire:2}")
    private long captchaExpire;

    //@Value("${mickey.data.snowflakeMachineBit:#{null}}")
    @Value("${mickey.data.snowflakeMachineBit:5}")
    private Integer snowflakeMachineBit = 5;

    //@Value("${mybatis.configuration.snowflakeDatacenterBit:#{null}}")
    @Value("${mybatis.configuration.snowflakeDatacenterBit:5}")
    private Integer snowflakeDatacenterBit;
}
